export default {

  copyAttribute(target) {
    return {
      "type": target.type,
      "applicationOID": target.applicationOID || "",
      "travelOperationRecordOID": target.travelOperationRecordOID || "",
      "travelBookerApplicationId": target.travelBookerApplicationId || "",
      "refundPrice": target.refundPrice || '',
      "name": target.name || "",
      "cardType": target.cardType || "",
      "cardNo": target.cardNo || "",
      "userOID": target.userOID || "",
      "itineraryType": target.itineraryType || "",
      "travelDate": target.travelDate || "",
      "beginDate": target.beginDate || "",
      "arriveDate": target.arriveDate || "",
      "travelNo": target.travelNo || "",
      "fromAirport": target.fromAirport || "",
      "toAirport": target.toAirport || "",
      "bunk": target.bunk || "",
      "supplyName": target.supplyName || "",
      "supplyTel": target.supplyTel || "",
      "price": target.price|| "",
      "taxationPrice": target.taxationPrice || "",
      "insurancePrice": target.insurancePrice || "",
      "servicePrice": target.servicePrice || "",
      "sendTicketsPrice": target.sendTicketsPrice || "",
      "finalPrice": target.finalPrice || "",
      "remark": target.remark || "",
      "endorsePrice": target.endorsePrice || "",
    }
  }
}
